package br3akr.DeadlyDinnerParty.Server.Engine;

import java.util.TimerTask;

import br3akr.DeadlyDinnerParty.Server.World.World;

public class TimePassTask extends TimerTask {
	private World world;
	
	public TimePassTask(World world) {
		this.world = world;
	}
	@Override
	public void run() {
		world.setTime(world.getTime().getNextTime());
	}
}
